package AcWing周赛;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: a
 * Date: 2022-10-01
 * Time: 19:00
 */
public class Demo71_1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int d = scanner.nextInt();
        for(int i = a; i <= b; i++){
            int x = i;
            for(int j = b; j <= c; j++){
                int y = j;
                int tmp = x + y;
                if(tmp > c){
                    System.out.println(x + " " + y + " " + c);
                    return;
                }
            }
        }
    }
}
